<!--
 * @Author: Zhouxin 2890091630@qq.com
 * @Date: 2024-08-20 21:42:05
 * @LastEditors: Zhouxin 2890091630@qq.com
 * @LastEditTime: 2024-08-20 22:03:47
 * @FilePath: \2024-8-20-day11\2.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=s, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
   function fn() {

      var a = b = 3;
    }

    console.log(b);//这里打印值是多少? 报错
    console.log(a);//这里打印值是多少?  报错
    </script>
</body>

</html>